// Application/DTOs/ArticleQueryParameters.cs
using System.Text.Json.Serialization;
using UniversalAdmin.Domain.Enums;

namespace UniversalAdmin.Application.DTOs;

public class ArticleQueryParameters : PagedQuery
{
  public string? Keyword { get; init; }

  [JsonConverter(typeof(JsonStringEnumConverter))]
  public ArticleStatus? Status { get; init; }
  public DateTime? Start { get; init; }
  public DateTime? End { get; init; }
}